<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.change_email" CodeFile="change_email.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" height="100%">
		<tr>
			<td class="page_title" colspan=3><asp:literal id="litTitle" runat=server>Change Email</asp:literal></td>
		</tr>
		<tr>
			<td valign="top" height="100%" class="main_table_border"><!-- width="556" -->
				<div class="content">
					<table cellSpacing="0" cellPadding="1" width="100%" border="0" class="main_text_form">
						<tr>
							<td id="error" colSpan="2"><asp:validationsummary id="ValidationSummary1" runat="server" ForeColor="#F04C03" DisplayMode="List" CssClass="val_summary" Height="32px"></asp:validationsummary></td>
						</tr>
						<tr>
							<td vAlign="middle" width="200"><b><asp:label id="lblPassword" runat="server">Password:</asp:label></b><br></td>
							<td align="left" width="539"><asp:textbox id="txtPassword" runat="server" CssClass="mail_field" MaxLength="50" ToolTip="Password"
									TextMode="Password"></asp:textbox><asp:requiredfieldvalidator id="rvPassword" runat="server" ControlToValidate="txtPassword" Display="None" ErrorMessage="Please enter your password"></asp:requiredfieldvalidator>
								<asp:CustomValidator id="cvCheckPassword" runat="server" ErrorMessage="Please enter valid password" Display="None"
									ControlToValidate="txtPassword"></asp:CustomValidator>
							</td>
						</tr>
						<tr>
							<td vAlign="middle"><b><asp:label id="lblNewEmail" runat="server">New Email:</asp:label></b><br></td>
							<td align="left">
								<asp:textbox id="txtNewEmail" runat="server" CssClass="mail_field" MaxLength="50" ToolTip="New Email"></asp:textbox>
								<asp:requiredfieldvalidator id="rvNewEmail" runat="server" ControlToValidate="txtNewEmail" Display="None" ErrorMessage="Please enter your new email"></asp:requiredfieldvalidator>
								<asp:regularexpressionvalidator id="rqvNewEmail" runat="server" display="None" errormessage="Please enter Correct Email" 
									controltovalidate="txtNewEmail" validationexpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator>
								<asp:customvalidator id="cvCompareEmail" runat="server" ControlToValidate="txtNewEmail" Display="None"
									ErrorMessage="Please check your new email"></asp:customvalidator>
							</td>
						</tr>
						<tr>
							<td vAlign="middle"><b><asp:label id="lblConfirmNewEmail" runat="server">Confirm New Email:</asp:label></b><br></td>
							<td align="left">
								<asp:textbox id="txtConfirmNewEmail" runat="server" CssClass="mail_field" MaxLength="50" ToolTip="Confirm New Email"></asp:textbox>
								<asp:requiredfieldvalidator id="rvConfirmEmail" runat="server" ControlToValidate="txtConfirmNewEmail" Display="None" ErrorMessage="Please confirm  your new email"></asp:requiredfieldvalidator>
								<asp:regularexpressionvalidator id="revVerifyEmail" runat="server" display="None" errormessage="Please enter correct verification email"
									controltovalidate="txtConfirmNewEmail" validationexpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator>
							</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td><br>
								<asp:button id="btnSave" runat="server" CssClass="btn" Text="Save"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnSave_Click"></asp:button>&nbsp;&nbsp;<asp:button id="btnCancel" runat="server" CssClass="btn" Text="Cancel" CausesValidation="False"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" ondatabinding="btnCancel_Click" onclick="btnCancel_Click"></asp:button></td>
						</tr>
					</table>
				</div>
			</td>
			<!-- BEGIN SKYSCRAPER ADVERTISEMENT -->	
			<!--
			<td class="small" width="10">&nbsp;</td>
			<td class="border_adv" vAlign="top" width="203" height="100%">
					<table cellSpacing="1" cellPadding="0" width="100%" border="0">
							<tr>
									<td class="small" width="10">&nbsp;</td>
									<td class="advertisement" width="199"><asp:Literal id="litSkyscraperAdvertisement" runat=server></asp:literal></td>
							</tr>
					</table>
			</td>-->
			<!-- END SKYSCRAPER ADVERTISEMENT -->
		</tr>
	</table>
</form>
